//
//  SelectView.h
//  ChengHuiTong
//
//  Created by ypwl on 15/11/12.
//  Copyright © 2015年 张文权. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "DataModel.h"

@interface SelectView : UIView
@property (nonatomic, weak)UIViewController *parent;


/**
 *  上面的按钮
 */
@property(nonatomic,copy)void(^myButtonClickBlock)(void);

/**
 *  下面的按钮
 */
@property(nonatomic,copy)void(^entrustButtonClickBlock)(void);


/**
 *  是否充值
 */
@property(nonatomic,assign)BOOL isEntrust;


/**
 *  初始化方法
 *
 *  @param frame     坐标
 *  @param isEntrust 是否充值
 *
 *  @return 自定义初始化方法 frame传入坐标   isEntrust是否充值
 */
- (instancetype)initWithFrame:(CGRect)frame isEntrust:(BOOL)isEntrust;


+(UIView*)footViewWithheight:(CGFloat)height;
-(instancetype)initWithFrame:(CGRect)frame WithVipModel:(VipModel*)Vipmodel;

@end
